/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package general;

import commands.ICommand;
import context.IContext;
import java.io.InputStream;
import java.io.PrintStream;

/**
 *
 * eCOM - Adopte un Presta - Mars-Avril 2013
 * @author Kheira, Jef, William, Tuan-Long
 */
public class ConsoleMutable extends ConsoleAbstractClass {
    	public ConsoleMutable(IContext context, InputStream is, PrintStream out, PrintStream err) {
		super(context, is, out, err);
	}

	public ConsoleMutable(IContext context) {
		super(context);
	}

	public void addCommand(ICommand command) {
		this.commands.put(command.getName(), command);
	}
}
